package com.javazyw.entity.bo;

public interface Constant {

	int PAGE_DEFAULT_SIZE = 20;

    int PAGE_DEFAULT_PAGE_NO = 1;
	
	String USER_SESSION_KEY = "USER_SESSION_KEY";
	
	String REDIS_MONITOR_KEY = "list.monitor";
	
	String PAGE_SELECT_EXAMPLE_STATEMENT = "selectByExample";
	
	String PAGE_SELECT_COUNT_EXAMPLE_STATEMENT = "countByExample";
	
	String DEFAULT_PASSWORD = "123456";
	
	String USER_LOCK_WINDOW_FLAG = "USER_LOCK_WINDOW_FLAG";
	
	String NEWLINE = "\n";
	
	String NEWLLINE_TWO = "\n\n";
	
	String ADMIN_SESSION_KEY = "ADMIN_SESSION_KEY";
	
	String FTP_PATH_DOCTOR_HEADIMG = "doctor/headimg";
	String FTP_PATH_DOCTOR_QC = "doctor/qualificationCertificate";
	String FTP_PATH_JS = "js";
	
    /**
     * 删除的状态标志位
     */
    public static interface DeleteFlag{
        //正常状态
        public static Integer COMMON_STATUS=0;
        //删除状态
        public static Integer DELETE_STATUS=1;
    }

    public static interface UserEabled{
        //正常状态
        public static String EABLED="10A";
        //删除状态
        public static String UN_EABLED="10B";
    }

    public static interface ClientStatus{
       public static Integer SUCCESS=1;
       //删除状态
       public static Integer FAILD=0;
    }
    
    String SAFEDATA_KEY = "safeData";
	String SAFECHECK_KEY = "safeCheck";

	String RESPONSE_STATUS_KEY = "status";
	String RESPONSE_MSG_KEY = "msg";
	String RESPONSE_DATA_KEY = "data";

	int MSG_TYPE_0 = 0;//公众功能账号消息
	int MSG_TYPE_1 = 1;//普通用户消息
	int MSG_TYPE_2 = 2; //好友添加信息
	
	String USER_TYPE_KEY = "userTypeKey";
	String USER_TYPE_CONSONLE = "1";//web管理员类型的数据
	String USER_TYPE_CLINET = "2";//手机用户
	String USER_TYPE_WEBCLINET = "3";//web公共账号类型的数据


    public static final String BP_RISE_RAPID_TIP = "您的血压上升过快，请加以重视。建议最近几天多做观察，如情况没有好转需质询医生!";
    /**
     * 血压小幅上升（+10为小幅上升），则会提出，您的血压近期有上升趋势，请注意观察。建议平时注意饮食和睡眠，有空可以在问诊页面做一个问答
     */
    public static final String BP_RISE_SLOW_TIP = "您的血压近期有上升趋势，请注意观察。建议平时注意饮食和睡眠，有空可以在问诊页面做一个问答!";
    /**
     * 血压大幅下降(-15为大幅下降），则会提出，您的血压下降幅度过大，请加以重视。建议平时多关注自身血压，如服食降压药要遵循医嘱
     */
    public static final String BP_DROP_RAPID_TIP = "您的血压下降幅度过大，请加以重视。建议平时多关注自身血压，如服食降压药要遵循医嘱!";

    /**
     * 血压小幅下降（-10为小幅下降）。则会提出，您的血压近期有所下降，请继续保持。建议平时多做有氧运动，保持心情愉悦
     */
    public static final String BP_DROP_SLOW_TIP = "您的血压近期有所下降，请继续保持。建议平时多做有氧运动，保持心情愉悦!";

    /**
     * 您的血压平稳，请继续保持，建议平时多做有氧运动，保持心情愉悦。
     */
    public static final String BP_STABLE_TIP = "您的血压平稳，请继续保持，建议平时多做有氧运动，保持心情愉悦!";

    /**
     * 您的血压波动较大，建议您测量血压之前保持平和的心情再进行血压测试
     */
    public static final String BP_UNSTABLE_TIP = "您的血压波动较大，建议您测量血压之前保持平和的心情再进行血压测试!";

    /**
     * 您的血压波动较大，建议您测量血压之前保持平和的心情再进行血压测试
     */
    public static final String BP_DEFAULT_TIP = "数据太少，无法给出建议!";

    public static final Integer POINTS_NUM=60;


    //六种指标
    public final static String RATIO_A = "A";
    public final static String RATIO_B = "B";
    public final static String RATIO_C = "C";
    public final static String RATIO_D = "D";
    public final static String RATIO_E = "E";
    public final static String RATIO_F = "F";

    //每种指标的范围
    public final static double RANGE1 = (1.0/6);
    public final static double RANGE2 = (2.0/6);
    public final static double RANGE3 = (3.0/6);
    public final static double RANGE4 = (4.0/6);
    public final static double RANGE5 = (5.0/6);
    public final static double RANGE6 = (6.0/6);

    //用户统计 新增
    public final static int U_STATIS_ADD = 1;
    //用户统计取消
    public final static int U_STATIS_CANCEL = 1;
    //mysql 函数日期格式常量
    public final static String fomat_day = "%Y-%m-%d";
    public final static String fomat_month = "%Y-%m";
    //血糖类型
    public final static String GLUCOSE_BEFORE="0";//餐前
    public final static String GLUCOSE_AFTER="1";


    public static final String CAPTCHA = "captcha";

    public final static String CLIENT_IMG_PATH = "client/images/";

    public static final String SESSION_SECURITY_CODE = "SESSION_SECURITY_CODE";
    public static final String SEESINON_FRIENDS_ID="SESSION_FRIENDS_ACCOUNT";

}
